package com.zzc.emotisenseclassroom.domain.user.service.impl;

import com.zzc.emotisenseclassroom.dbservice.user.ClassDbService;
import com.zzc.emotisenseclassroom.domain.user.service.ClassService;
import com.zzc.emotisenseclassroom.dto.user.ClassDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Copyright Zzc
 * FileName: ClassServiceImpl
 * Author:   Zzc
 * Date:     2024/4/2718:23
 * Description:班级业务层实现类
 * hISTORY:
 * <author>  <time>     <version>    <desc>
 * 作者姓名   修改时间       版本号       描述
 * Zzc                   1.0.0
 */
@Service
public class ClassServiceImpl implements ClassService {
    @Autowired
    private ClassDbService classDbService;


    @Override
    public List<ClassDTO> getClassInfoList(Long schoolId) {
        return classDbService.getClassInfoList(schoolId);
    }
}
